package com.reader.api.service.magazine;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.reader.api.entity.magazine.ReaderMagazine;

import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

/**
 * @@description  服务类
 * @author        jiahaikun
 * @date          2018-11-06
 */
public interface IReaderMagazineService extends IService<ReaderMagazine> {

        /**
         * 杂志列表页接口
         * @param period
         * @return
         */
        List<Map<String, Object>> selectPeriodListPage(Integer period);

        /**
         *杂志列表页-全量
         * @return
         */

        List<HashMap<String, Object>> selectYearListPage();

        /**
         * 杂志目录页接口
         * @return
         */
        List<LinkedHashMap<String, Object>>  selectColumnListPage(String magazineId);
}